#pragma once

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

#define FIFO_FILE "./myfifo"
#define MODE 0664 //命名管道默认权限
#define SIZE 1024
#define CREATCHANNELERROR 1
#define OPENCHANNELERROR 2
#define CLOSECHANNELERROR 3